package com.gp.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author 弓成龙
 * @since 2017-11-26
 */
@TableName("dim_base_state")
public class DimBaseState extends Model<DimBaseState> {

  private static final long serialVersionUID = 1L;

  private Long id;
  private String columnCode;
  private String columnValue;
  /**
   * 自定义填充的创建时间
   */
  @TableField(fill = FieldFill.INSERT) // 该注解插入忽略验证，自动填充
  private Date createTime;
  /**
   * 自定义填充的最后一次修改时间
   */
  @TableField(fill = FieldFill.UPDATE) // 该注解插入忽略验证，自动填充
  private Date lastModifiedTime;
  private Integer state;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getColumnCode() {
    return columnCode;
  }

  public void setColumnCode(String columnCode) {
    this.columnCode = columnCode;
  }

  public String getColumnValue() {
    return columnValue;
  }

  public void setColumnValue(String columnValue) {
    this.columnValue = columnValue;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getLastModifiedTime() {
    return lastModifiedTime;
  }

  public void setLastModifiedTime(Date lastModifiedTime) {
    this.lastModifiedTime = lastModifiedTime;
  }

  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }

  public static long getSerialversionuid() {
    return serialVersionUID;
  }

  @Override
  protected Serializable pkVal() {
    return this.id;
  }

}
